package com.qf.sevice;

import com.qf.domain.User;

import java.util.List;

public interface UserService {
    public boolean checkUserName(String username);

    boolean register(String username, String password, String email, String gender);

    User login(String username, String password);

    Boolean findByNameInRole(String username);

    List<User> findAlluser();

    void delectById(int id);

    List<User> findUserByUsernameAndGender(String username, String gender);
}
